Object.defineProperty(exports, "__esModule", {
    value: !0
});

exports.navigationMixIn = {
    addTo: function(s) {
        s.setData({
            sidebar: {
                status: !1,
                isfocus: !1,
                navs: [],
                site: {
                    name: null,
                    logo: null
                }
            }
        }), Object.assign(s, {
            initNavigation: function(s, a) {
                this.setData({
                    sidebar: {
                        status: !1,
                        isfocus: s.isfocus,
                        navs: a,
                        site: Object.assign({}, s, {
                            navs: a,
                            app: this.data.app
                        })
                    },
                    sidebarReady: !0
                });
            }
        });
    }
};